﻿@{
    ViewData["Title"] = "WarehouseShow";
    Layout = "~/Views/Shared/Template.cshtml";
}

<div style="padding: 16px;margin-bottom:10px">
    <h3><span style="color:gray">仓库管理</span></h3>
</div>
<div style="padding: 16px;margin-bottom:20px">
    <h4>数据筛选</h4>
    <hr />
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">编号:</label>
                <div class="layui-input-block">
                    <input type="text" id="warehouseNo" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">仓库名称:</label>
                <div class="layui-input-block">
                    <input type="text" id="warehouseName" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-inline">
                <label class="layui-form-label">部门:</label>
                <div class="layui-input-block">
                    <select id="departmentId" lay-filter="aihao">
                        <option value="">请选择</option>
                        <option value="1">财务中心</option>
                        <option value="2">信息技术中心</option>
                        <option value="3">采购中心</option>
                        <option value="4">销售中心</option>
                        <option value="5">行政部</option>
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">仓库类型:</label>
                <div class="layui-input-block">
                    <select id="warehouseTypeId" lay-filter="aihao"></select>
                </div>
            </div>

            <div class="layui-inline">
                <div class="layui-btn-container">
                    <button type="button" class="layui-btn layui-bg-blue" onclick="show()">
                        <i class="layui-icon layui-icon-search"></i>查询
                    </button>
                    <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Warehouse/WarehouseShow'">
                        <i class="layui-icon layui-icon-refresh"></i>重置
                    </button>
                </div>
            </div>

            <hr />
            <hr />
            <div style="float:left">
                <h4>数据列表</h4>
            </div>
            <div style="float:right">
                <div class="layui-btn-container">
                    <button type="button" class="layui-btn layui-bg-gray" lay-on="test-page-custom" onclick="location.href='/Warehouse/AddWarehouse'">
                        <i class="layui-icon layui-icon-add-1"></i>新增
                    </button>
                    <button type="button" class="layui-btn layui-bg-gray" id="batchUpdBtn">
                        <i class="layui-icon layui-icon-edit"></i>编辑
                    </button>
                    <button type="button" id="batchDeleteButton" class="layui-btn layui-bg-gray">
                        <i class="layui-icon layui-icon-delete"></i>删除
                    </button>
                    <button type="button" class="layui-btn layui-bg-gray" onclick="location.href='/Warehouse/WarehouseShow'">
                        <i class="layui-icon layui-icon-refresh"></i>刷新
                    </button>
                    <script type="text/html" id="toolbarDemo">
                    </script>
                </div>
            </div>
        </div>
    </form>

    <div>
        <table class="layui-hide" id="warehouseData"></table>
        @* <div class="layui-btn-group">
            <button class="layui-btn" id="checkAllBtn">全选</button>
            <button class="layui-btn" id="reverseCheckBtn">反选</button>
            <button class="layui-btn" id="batchOperateBtn">批量操作</button>
        </div> *@
    </div>
    @* <script type="text/html" id="toolDemo">
    <div class="layui-clear-space">
    <a class="layui-link layui-btn-xs" lay-event="edit">
    <i class="layui-icon layui-icon-edit"></i>编辑</a>
    <a class="layui-link layui-btn-xs" lay-event="more">
    <i class="layui-icon layui-icon-delete"></i>
    删除
    </a>
    </div>
    </script> *@
</div>

<div class="layui - container">
    <div id="sales - chart"></div>
</div>

<script src="~/js/dist/echarts.min.js"></script>
<script src="../js/warehouse/warehouse/warehouseshow.js"></script>
